package cn.lili.modules.member.mapper;

import cn.lili.modules.member.entity.dos.GradeLevel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * create by yudan on 2022/3/2
 */
public interface GradeLevelMapper extends BaseMapper<GradeLevel> {


    //根据会员id修改状态
    @Update("UPDATE li_grade_level set delete_flag = 1,grade_state = 1 where member_id = #{memberId}")
    boolean updateByMemberId(String memberId);

}
